<div id="content" id="top" name="top">

    <div id="content_top_line">
        <div id="history">
            <?php if (isset($activecategory)){?>
            <a href="<?=$controller.'category/'.strtolower($activecategory)?>"><?=$activecategory?></a> <?=isset($activecategorySecond)?'/ '.$activecategorySecond:''?>
            <?php }?>
        </div>
        <div id="clock">

        </div>
    </div>

    <div class="invite_text">
<!--        <marquee scrollamount="2" direction="left" width="980">
            Invite friends and get a $25 account credit when their first purchase has shipped. &nbsp; <a href="#">Invite now</a>
        </marquee>-->
    </div>

    <div id="upBlock"><img src="/images/loader.gif" border="0" /></div>
    <?php
    $activecategorySecond=strtolower(isset($activecategorySecond)?$activecategorySecond.'/':'');
    $activecategory=strtolower(isset($activecategory)?$activecategory.'/'.$activecategorySecond:'');
    if(isset($items)){foreach($items as $item){
        if((isset($logoImg[$item['id']]))){
            $logoimg='/content/directory/images/shop/shopItemPreview/'.substr($logoImg[$item['id']]['alias'],0, 1).'/'.$logoImg[$item['id']]['alias'].'.jpg';
        }else{
            $logoimg='/images/no_item_image.jpg';
        }
        echo'<a class="item_a" href="'.$controller.'item/'.$item['alias'].'/'.$activecategory.'">

                    <div class="product_item">
                        <img src="'.$logoimg.'"/>
                        <div class="product_item_desc">
                            <span>'.$item['name'].'</span>
                            <div class="yellow_link">'.mb_substr($item['price'],0,-3,'UTF-8').' грн</div>
                        </div>
                    </div>
            </a>';
    }}
    ?>
    <div id="LoadDiv"></div>
</div>


<a href="#top" class="scrollto"></a>
<div class="clear"></div>
<div class="paginator"><?=isset($paginatorNavigate)?$paginatorNavigate:''?></div>
